<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/10/28 0028
 * Time: 4:56
 */
function ccname($id){
    $name=M("user_admin")->field("name")->where("admin_id='".$id."'")->find();
    $name=$name['name'];
    return $name;
}